<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/IC_Driver/SPI_WB25Qxx.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_27151ef53f10301e424ca52b7f0da996.html">IC_Driver</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">SPI_WB25Qxx.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_s_p_i___w_b25_qxx_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#ifndef __SPI_WB25Qxx_H__</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#define __SPI_WB25Qxx_H__</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#include &quot;stdint.h&quot;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="keywordtype">void</span> <a class="code hl_function" href="_s_p_i___w_b25_qxx_8h.html#a0465c5f017965876cf6ff8859eb2731f">WB25Qxx_Init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>uint16_t <a class="code hl_function" href="_s_p_i___w_b25_qxx_8h.html#a026120f0fec011e2c302b114b5961b55">WB25Qxx_Read_Manufacturer_Device_ID</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>uint32_t <a class="code hl_function" href="_s_p_i___w_b25_qxx_8h.html#a8f90491088e0e7053d211def3f87a330">WB25Qxx_Read_JEDEC_ID</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="keywordtype">void</span> <a class="code hl_function" href="_s_p_i___w_b25_qxx_8h.html#a65571e7929b299af3a763c206a2c98b5">WB25Qxx_EraseSector</a>(uint32_t addr);</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span><span class="keywordtype">void</span> <a class="code hl_function" href="_s_p_i___w_b25_qxx_8h.html#a6c158a445050a00b631fd669de3213d7">WB25Qxx_ReadData</a>(uint32_t addr, uint8_t *buff, uint32_t cnt);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span><span class="keywordtype">void</span> <a class="code hl_function" href="_s_p_i___w_b25_qxx_8h.html#a6af72df055a5bc71064719f68842f515">WB25Qxx_WritePage</a>(uint32_t addr, uint8_t *buff, uint32_t cnt);</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span><span class="keywordtype">void</span> <a class="code hl_function" href="_s_p_i___w_b25_qxx_8h.html#af3283a1cc275bb536b31ab945449b40c">WB25Qxx_WriteBuff</a>(uint32_t addr, uint8_t *buff, uint32_t cnt);</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>uint8_t <a class="code hl_function" href="_s_p_i___w_b25_qxx_8h.html#a31f4382f10e496b80033a9550032fd1f">WB25Qxx_CheckTest</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span><span class="preprocessor">#endif </span><span class="comment">//__SPI_WB25Qxx_H__</span></div>
<div class="ttc" id="a_s_p_i___w_b25_qxx_8h_html_a026120f0fec011e2c302b114b5961b55"><div class="ttname"><a href="_s_p_i___w_b25_qxx_8h.html#a026120f0fec011e2c302b114b5961b55">WB25Qxx_Read_Manufacturer_Device_ID</a></div><div class="ttdeci">uint16_t WB25Qxx_Read_Manufacturer_Device_ID(void)</div><div class="ttdoc">读取芯片厂商和设备 ID</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_i___w_b25_qxx_8c_source.html#l00218">SPI_WB25Qxx.c:218</a></div></div>
<div class="ttc" id="a_s_p_i___w_b25_qxx_8h_html_a0465c5f017965876cf6ff8859eb2731f"><div class="ttname"><a href="_s_p_i___w_b25_qxx_8h.html#a0465c5f017965876cf6ff8859eb2731f">WB25Qxx_Init</a></div><div class="ttdeci">void WB25Qxx_Init(void)</div><div class="ttdoc">初始化 WB25Qxx 使用的 SPI 接口, 并读取芯片 ID 等信息以判断其是否是 WB25Qxx 芯片</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_i___w_b25_qxx_8c_source.html#l00154">SPI_WB25Qxx.c:154</a></div></div>
<div class="ttc" id="a_s_p_i___w_b25_qxx_8h_html_a31f4382f10e496b80033a9550032fd1f"><div class="ttname"><a href="_s_p_i___w_b25_qxx_8h.html#a31f4382f10e496b80033a9550032fd1f">WB25Qxx_CheckTest</a></div><div class="ttdeci">uint8_t WB25Qxx_CheckTest(void)</div><div class="ttdoc">本驱动模块 WB25Qxx 各功能测试</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_i___w_b25_qxx_8c_source.html#l00505">SPI_WB25Qxx.c:505</a></div></div>
<div class="ttc" id="a_s_p_i___w_b25_qxx_8h_html_a65571e7929b299af3a763c206a2c98b5"><div class="ttname"><a href="_s_p_i___w_b25_qxx_8h.html#a65571e7929b299af3a763c206a2c98b5">WB25Qxx_EraseSector</a></div><div class="ttdeci">void WB25Qxx_EraseSector(uint32_t addr)</div><div class="ttdoc">擦除 WB25Qxx 指定扇区地址</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_i___w_b25_qxx_8c_source.html#l00291">SPI_WB25Qxx.c:291</a></div></div>
<div class="ttc" id="a_s_p_i___w_b25_qxx_8h_html_a6af72df055a5bc71064719f68842f515"><div class="ttname"><a href="_s_p_i___w_b25_qxx_8h.html#a6af72df055a5bc71064719f68842f515">WB25Qxx_WritePage</a></div><div class="ttdeci">void WB25Qxx_WritePage(uint32_t addr, uint8_t *buff, uint32_t cnt)</div><div class="ttdoc">向 WB25Qxx 指定地址处写入指定个字节数据(写入前须保证待写入区域已被擦空)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_i___w_b25_qxx_8c_source.html#l00371">SPI_WB25Qxx.c:371</a></div></div>
<div class="ttc" id="a_s_p_i___w_b25_qxx_8h_html_a6c158a445050a00b631fd669de3213d7"><div class="ttname"><a href="_s_p_i___w_b25_qxx_8h.html#a6c158a445050a00b631fd669de3213d7">WB25Qxx_ReadData</a></div><div class="ttdeci">void WB25Qxx_ReadData(uint32_t addr, uint8_t *buff, uint32_t cnt)</div><div class="ttdoc">从 WB25Qxx 指定地址读取指定个字节数据</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_i___w_b25_qxx_8c_source.html#l00321">SPI_WB25Qxx.c:321</a></div></div>
<div class="ttc" id="a_s_p_i___w_b25_qxx_8h_html_a8f90491088e0e7053d211def3f87a330"><div class="ttname"><a href="_s_p_i___w_b25_qxx_8h.html#a8f90491088e0e7053d211def3f87a330">WB25Qxx_Read_JEDEC_ID</a></div><div class="ttdeci">uint32_t WB25Qxx_Read_JEDEC_ID(void)</div><div class="ttdoc">读取芯片 JEDEC ID</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_i___w_b25_qxx_8c_source.html#l00259">SPI_WB25Qxx.c:259</a></div></div>
<div class="ttc" id="a_s_p_i___w_b25_qxx_8h_html_af3283a1cc275bb536b31ab945449b40c"><div class="ttname"><a href="_s_p_i___w_b25_qxx_8h.html#af3283a1cc275bb536b31ab945449b40c">WB25Qxx_WriteBuff</a></div><div class="ttdeci">void WB25Qxx_WriteBuff(uint32_t addr, uint8_t *buff, uint32_t cnt)</div><div class="ttdoc">向 WB25Qxx 指定地址处写入指定个字节数据(写入前须保证待写入区域已被擦空)</div><div class="ttdef"><b>Definition:</b> <a href="_s_p_i___w_b25_qxx_8c_source.html#l00419">SPI_WB25Qxx.c:419</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
